package com.moyuwanjia.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.*;

/**
 * @author 摸鱼丸加~
 * @create 2022-04-19 11:16
 */
@Data
@NoArgsConstructor
public class User {
    private String name;
    private Integer age;
    private LocalDate birthday;
    private Date createTime;

    public User(String name) {
        this.name = name;
    }
    public User(String name, Integer age, LocalDate birthday, Date createTime) {
        this.name = name;
        this.age = age;
        this.birthday = birthday;
        this.createTime = createTime;
    }
    //    测试复杂属性数据
    private String[] strings;
    private List<String> list;
    private Set<String> set;
    private Map<String,String> map;
    private Properties properties;

}
